/* 
 * Gneat (http://gneat.org)
 *
 * (C) Copyright 2011 and beyond - Claudio Stella, all rights reserved.
 *
 * This file is part of Gneat.
 *
 * Gneat is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License (LGPL)
 * as published by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Gneat is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * and the GNU General Public License, for completeness, along with Gneat.  
 * If not, see <http://www.gnu.org/licenses/>.
 */
package org.neatshell.gneat.client.presenter.core.events;

import org.neatshell.gneat.client.handler.mouse.ClickHandler;
import org.neatshell.gneat.client.handler.mouse.DblClickHandler;
import org.neatshell.gneat.client.handler.mouse.MouseDownHandler;
import org.neatshell.gneat.client.handler.mouse.MouseMoveHandler;
import org.neatshell.gneat.client.handler.mouse.MouseOutHandler;
import org.neatshell.gneat.client.handler.mouse.MouseOverHandler;
import org.neatshell.gneat.client.handler.mouse.MouseUpHandler;
import org.neatshell.gneat.client.presenter.core.IPresenterList;

public interface MouseEventsList {
	/**
	 * Calls for each item in this list, the method {@link MouseEvents#click()}, binding the provided {@link ClickHandler} 
	 * to the "click" event on each element referenced by each item
	 * @param handler a {@link ClickHandler}
	 */
	public IPresenterList click(ClickHandler handler);
	public IPresenterList click();
	public IPresenterList dblclick(DblClickHandler handler);
	public IPresenterList dblclick();
	public IPresenterList mousedown(MouseDownHandler handler);
	public IPresenterList mousedown();

//	public IPresenterList mouseenter(MouseEnterHandler handler);
//	public IPresenterList mouseleave(MouseLeaveHandler handler);
	
	public IPresenterList mousemove(MouseMoveHandler handler);
	public IPresenterList mousemove();
	public IPresenterList mouseout(MouseOutHandler handler);
	public IPresenterList mouseout();
	public IPresenterList mouseover(MouseOverHandler handler);
	public IPresenterList mouseover();
	public IPresenterList mouseup(MouseUpHandler handler);
	public IPresenterList mouseup();
	
//	public IPresenterList toggle(FunctionBooleanHandler h1, FunctionBooleanHandler h2, FunctionBooleanHandler... hN);
}
